package com.usian.dao;


import com.usian.pojo.Category;
import org.apache.ibatis.annotations.*;
import tk.mybatis.mapper.common.Mapper;

//@Mapper
public interface CategoryMapper extends Mapper<Category> {

//    @Select("select *from tb_brand")
//    public List<Brand> findAll();
//
//    @Select("select * from tb_brand where id=#{id}")
//    List<Brand> findById(@Param("id") Integer id);
//
//    @Update("update tb_brand set name=#{name},letter=#{letter} where id=#{id}")
//    void edit(Brand brand);
//
//    @Insert("insert into tb_brand (name,letter) VALUES (#{name},#{letter})")
//    void add(Brand brand);
}
